package com.atguigu.gmall.cart;

import com.atguigu.gmall.common.config.pool.properties.annotation.EnableAppThreadPool;
import com.atguigu.gmall.common.exception.EnableAutoExceptionHandle;
import org.springframework.boot.SpringApplication;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @author:ahang
 * @create:2022-10-19 12:27
 * @Description:
 */
@EnableAutoExceptionHandle
@EnableAppThreadPool  //开启自定义线程池
@EnableFeignClients(basePackages = "com.atguigu.gmall.feign.product")
@SpringCloudApplication
public class CartMainApplication {
    public static void main(String[] args) {
        SpringApplication.run(CartMainApplication.class,args);
    }
}
